import Vue from 'vue'
import { Button, Menu, MenuItem, Submenu, Container, Main, Header, Footer, Row, Col, Link } from 'element-ui';
import { Table, TableColumn, Input, Card, Form, FormItem, Select } from 'element-ui';
import App from './App.vue'
import './plugins/element.js'
import router from './router'

Vue.config.productionTip = false

Vue.component(Button.name, Button);
Vue.component(Menu.name, Menu);
Vue.component(MenuItem.name, MenuItem);
Vue.component(Submenu.name, Submenu);
Vue.component(Container.name, Container);
Vue.component(Main.name, Main);
Vue.component(Header.name, Header);
Vue.component(Footer.name, Footer);
Vue.component(Row.name, Row);
Vue.component(Col.name, Col);
Vue.component(Link.name, Link);
Vue.component(Table.name, Table);
Vue.component(TableColumn.name, TableColumn);
Vue.component(Input.name, Input);
Vue.component(Card.name, Card);
Vue.component(Form.name, Form);
Vue.component(FormItem.name, FormItem);
Vue.component(Select.name, Select);

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
